package com.example.user.api

import com.example.net.BaseResponse
import com.example.user.entity.UserEntity
import retrofit2.http.POST
import retrofit2.http.Query

interface UserApiService {
    @POST("/user/register")
    suspend fun register(@Query("password") pas:String,@Query("username") user:String):BaseResponse<UserEntity>
    @POST("/user/login")
    suspend fun login(@Query("password") pas:String,@Query("username")user:String):BaseResponse<UserEntity>
}